package com.wn.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/19 11:47
 * @ description：采购入库申请表
 * @ modified By：
 * @ version:     1.0
 */
@Data
@JsonIgnoreProperties("handler")
public class PurchaseInWarehouseApplication {
    private int id;
    @NotNull(message = "申请人不能为空")
    private Hr applicant;                     //申请人
    private String inWarehouseTime;           //申请入库时间
    @NotEmpty(message = "采购编号不能为空")
    private String procurementNumber;         //采购编号
    private String activitiInstanceId;        //流程id
    private String identifier;                //申请表编号
    @NotEmpty(message = "批次号不能为空")
    private String batchNumber;               //批次号
    private List<PurchaseList> purchaseLists; //采购订单明细
}
